From: Adrian Robert Date: Fri, 21 Aug 2009 19:29:31 +0000 (+0000) Subject: nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10980 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=344b221228d29c21b13269a801fe76669d35e00d;p=emacs.git nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of timer_check() to avoid crash on Leopard/PPC. Bug #2154. --- diff --git a/src/nsmenu.m b/src/nsmenu.m index aab3016e5e8..05184660bac 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -1887,6 +1887,7 @@ void process_dialog (id window, Lisp_Object list) - (Lisp_Object)runDialogAt: (NSPoint)p { int ret; + extern EMACS_TIME timer_check (int do_it_now); /* TODO: add to a header */ /* initiate a session that will be ended by pop_down_menu */ popupSession = [NSApp beginModalSessionForWindow: self];